package com.example.fms.dto.req;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ArithmeticInfoReqDto {
    //单号
    @NotEmpty(message = "单号不能为空")
    private String orderNumber;

    //仓库
    @NotEmpty(message = "仓库不能为空")
    private String warehouse;

    //发货类型，0：正常，1：加急
    @NotEmpty(message = "发货类型不能为空")
    private String type;

    //省
    @NotEmpty(message = "省份不能为空")
    private String province;

    //市
    @NotEmpty(message = "市不能为空")
    private String city;

    //区
    @NotEmpty(message = "区不能为空")
    private String area;

    //发货数
    @NotNull(message = "发货数量不能为空")
    private Integer number;



}
